<!DOCTYPE html>
<html>
  <head>
    <title>{% block title %}{% endblock %}</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
    <link rel="stylesheet" href="/styles/styles.css" type="text/css" />
    <link rel="shortcut icon" href="/images/favicon.png">
    <script src="/scripts/modulargrid.js" type="text/javascript"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" href="/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
    
    <script src="/scripts/scripts.js" type="text/javascript"></script>
  </head>
  <body>
    <div id="page">
      {% block header %}
      <div id="header">
        <div id="appname">
          {% block appname %}{% endblock %}
        </div>
        {% if title %}
        <div id="title">
          {{ title }}
        </div>
        {% endif %}
        {% block toolbar %}
        {% endblock %}
        <div id="sinusoid"></div>
      </div>
      {% endblock %}
    
      <div id="main">
        {% block content %}<p>Тут будет контент</p>{% endblock %}
      </div>
    </div>
  </body>
</html>
